﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BasicFrameworkDemo.Utility;
using Castle.Facilities.NHibernate;
using Castle.Transactions;
using FluentNHibernate.Cfg;
using FluentNHibernate.Cfg.Db;
using NHibernate;

namespace BasicFrameworkDemo.IDAL
{
    public class BaseFrameworkDemoRepository : RepositoryBase
    {
        protected override string ConnectionStr
        {
            get { return "connectionStrings"; }
        }

        public override string SessionFactoryKey
        {
            get { return "BaseFrameworkDemo"; }
        }

        public override bool IsDefault
        {
            get
            {
                return true;
            }
        }
    }
}
